#include <QApplication>

#include "mainwindow.h"

#define APPLICATION_NAME     "QtSimpleDownloadManager"
#define APPLICATION_VERSION  "v 1.0.0"
#define ORGANIZATION_NAME    "SPbAU"
#define ORGANIZATION_DOMAIN  "academic"

int main(int argc, char **argv)
{
    QApplication app(argc, argv);
    app.setApplicationName(APPLICATION_NAME);
    app.setApplicationVersion(APPLICATION_VERSION);
    app.setOrganizationName(ORGANIZATION_NAME);
    app.setOrganizationDomain(ORGANIZATION_DOMAIN);
    app.setWindowIcon(QIcon(":/icons/app"));

    MainWindow window;
    window.show();

    return app.exec();
}
